package com.tongtech.system.enums;

/**
 * 用户状态
 *
 * @author tong-support
 */
public enum FileType
{
    FILE(Byte.valueOf((byte) 0), "文件"), FOLDER(Byte.valueOf((byte) 1), "文件夹");

    private final Byte code;
    private final String info;

    FileType(Byte code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Byte getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
